//
// Created by pengtg on 2020/3/1.
//

#ifndef ANDROIDVIDEOPLAYER_SLAUDIOPLAY_H
#define ANDROIDVIDEOPLAYER_SLAUDIOPLAY_H


#include "IAudioPlay.h"

class SLAudioPlay: public IAudioPlay
{
public:
    virtual bool StartPlay(XParameter out);
    void PlayCall(void *bufq);
    virtual void Close();
    SLAudioPlay();
    virtual ~SLAudioPlay();
protected:
    unsigned char *buf = 0;
    std::mutex mux;
};


#endif //ANDROIDVIDEOPLAYER_SLAUDIOPLAY_H
